﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
   [Serializable]
	public class Register
	{
		public Register()
		{}
		#region Model
		private int _id;
		private int  _registerid;
		private int  _endkm;
		private decimal  _total;
		private decimal  _oliprie;
		private decimal  _driprie;
		private decimal  _wyprice;
		private decimal  _upkeepprice;
		private decimal  _makeprice;
		private decimal  _safeprice;
		private decimal  _lostprice;
		private decimal  _clearprice;
		private decimal  _sendcarprice;
		private decimal  _mendprice;
		private decimal  _diffprice;
		private decimal  _otherpri;
		private decimal  _plprice;
		private decimal  _tip;
		private string _pricecode;
		private decimal  _outprie;
		private decimal  _price;
		private int  _userid;
		private string _chenkuser;
		private string _userpri;
		private decimal  _shprice;
		private bool _isclear;
		private string _marks;
		private DateTime  _time;
		private string _state;
		private DateTime  _inputime;
		private DateTime  _outtime;
		private string _priemark;
		private decimal  _bprice;
		private int  _day;
		private string _carsate;
		/// <summary>
		/// 
		/// </summary>
		public int Id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 对应预约表 Reserve
		/// </summary>
		public int  RegisterId
		{
			set{ _registerid=value;}
			get{return _registerid;}
		}
		/// <summary>
		/// 收车里程
		/// </summary>
		public int  EndKm
		{
			set{ _endkm=value;}
			get{return _endkm;}
		}
		/// <summary>
		/// 应收租金
		/// </summary>
		public decimal  Total
		{
			set{ _total=value;}
			get{return _total;}
		}
		/// <summary>
		/// 汽油费
		/// </summary>
		public decimal  OliPrie
		{
			set{ _oliprie=value;}
			get{return _oliprie;}
		}
		/// <summary>
		/// 带驾费
		/// </summary>
		public decimal  DriPrie
		{
			set{ _driprie=value;}
			get{return _driprie;}
		}
		/// <summary>
		/// 违约金
		/// </summary>
		public decimal  wyPrice
		{
			set{ _wyprice=value;}
			get{return _wyprice;}
		}
		/// <summary>
		/// 超保养费
		/// </summary>
		public decimal  UpkeepPrice
		{
			set{ _upkeepprice=value;}
			get{return _upkeepprice;}
		}
		/// <summary>
		/// 修理费
		/// </summary>
		public decimal  makePrice
		{
			set{ _makeprice=value;}
			get{return _makeprice;}
		}
		/// <summary>
		/// 保险费
		/// </summary>
		public decimal  SafePrice
		{
			set{ _safeprice=value;}
			get{return _safeprice;}
		}
		/// <summary>
		/// 车损费
		/// </summary>
		public decimal  lostPrice
		{
			set{ _lostprice=value;}
			get{return _lostprice;}
		}
		/// <summary>
		/// 清洁费
		/// </summary>
		public decimal  clearPrice
		{
			set{ _clearprice=value;}
			get{return _clearprice;}
		}
		/// <summary>
		/// 送车费
		/// </summary>
		public decimal  SendCarPrice
		{
			set{ _sendcarprice=value;}
			get{return _sendcarprice;}
		}
		/// <summary>
		/// 拆装赔偿费
		/// </summary>
		public decimal  MendPrice
		{
			set{ _mendprice=value;}
			get{return _mendprice;}
		}
		/// <summary>
		/// 异地还车
		/// </summary>
		public decimal  DiffPrice
		{
			set{ _diffprice=value;}
			get{return _diffprice;}
		}
		/// <summary>
		/// 其他费用
		/// </summary>
		public decimal  OtherPri
		{
			set{ _otherpri=value;}
			get{return _otherpri;}
		}
		/// <summary>
		/// 陪练费
		/// </summary>
		public decimal  pLPrice
		{
			set{ _plprice=value;}
			get{return _plprice;}
		}
		/// <summary>
		/// 小费
		/// </summary>
		public decimal  Tip
		{
			set{ _tip=value;}
			get{return _tip;}
		}
		/// <summary>
		/// 支票号
		/// </summary>
		public string PriceCode
		{
			set{ _pricecode=value;}
			get{return _pricecode;}
		}
		/// <summary>
		/// 应退金额
		/// </summary>
		public decimal  outPrie
		{
			set{ _outprie=value;}
			get{return _outprie;}
		}
		/// <summary>
		/// 收费金额
		/// </summary>
		public decimal  Price
		{
			set{ _price=value;}
			get{return _price;}
		}
		/// <summary>
		/// 经办人
		/// </summary>
		public int  UserId
		{
			set{ _userid=value;}
			get{return _userid;}
		}
		/// <summary>
		/// 计算人
		/// </summary>
		public string ChenkUser
		{
			set{ _chenkuser=value;}
			get{return _chenkuser;}
		}
		/// <summary>
		/// 缴款人
		/// </summary>
		public string UserPri
		{
			set{ _userpri=value;}
			get{return _userpri;}
		}
		/// <summary>
		/// 应收帐款
		/// </summary>
		public decimal  shPrice
		{
			set{ _shprice=value;}
			get{return _shprice;}
		}
		/// <summary>
		/// 帐款结清
		/// </summary>
		public bool IsClear
		{
			set{ _isclear=value;}
			get{return _isclear;}
		}
		/// <summary>
		/// 备注
		/// </summary>
		public string Marks
		{
			set{ _marks=value;}
			get{return _marks;}
		}
		/// <summary>
		/// 签订时间
		/// </summary>
		public DateTime  Time
		{
			set{ _time=value;}
			get{return _time;}
		}
		/// <summary>
		/// 状态
		/// </summary>
		public string State
		{
			set{ _state=value;}
			get{return _state;}
		}
		/// <summary>
		/// 录入时间
		/// </summary>
		public DateTime  InpuTime
		{
			set{ _inputime=value;}
			get{return _inputime;}
		}
		/// <summary>
		/// 收款日期
		/// </summary>
		public DateTime  OutTime
		{
			set{ _outtime=value;}
			get{return _outtime;}
		}
		/// <summary>
		/// 付款情况
		/// </summary>
		public string PrieMark
		{
			set{ _priemark=value;}
			get{return _priemark;}
		}
		/// <summary>
		/// 包干价
		/// </summary>
		public decimal  BPrice
		{
			set{ _bprice=value;}
			get{return _bprice;}
		}
		/// <summary>
		/// 天数
		/// </summary>
		public int  day
		{
			set{ _day=value;}
			get{return _day;}
		}
		/// <summary>
		/// 客户交车状态
		/// </summary>
		public string CarSate
		{
			set{ _carsate=value;}
			get{return _carsate;}
		}
		#endregion Model

	}
}
